package com.ling.luo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
@EnableCaching
@RestController
public class RocketMQClientApplication {

    public static void main(String[] args) {
        SpringApplication.run(RocketMQClientApplication.class, args);
    }

    /**
     * 判断程序是否启动完成
     * @return
     */
    @GetMapping("/")
    public String index() {
        return "RocketMQClientApplication";
    }

}
